package com.zxy.ziems.server.board.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zxy.ziems.server.board.pojo.entity.RoleFileEntity;
import com.zxy.ziems.server.board.pojo.vo.RoleFileVo;
import com.zxy.ziems.server.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RoleFileMapper extends BaseMapperX<RoleFileEntity> {
    /**
     * 获取用户角色文件
     * @param userName
     * @return
     */
    IPage<RoleFileVo> pageUserFile(@Param("page") IPage<RoleFileVo> page, @Param("userName") String userName);
}
